package com.kim.api.user;



import com.kim.common.base.BaseResponse;
import com.kim.common.entity.User;

import java.util.List;

public interface UserApi {

    /**
     * 用户新增或注册
     * @param request
     * @return
     */
    BaseResponse saveUser(User request);

    /**
     * 用户登录
     * @param request
     * @return
     */
    BaseResponse login(User request);

    BaseResponse deleteUserById(Integer id);


    BaseResponse UpdateUser(User request);

    BaseResponse<List<User>> User(User request);

    BaseResponse<User> getUserById(Integer id);

}
